<div mt-layout="{ spacing_open:0 }" style="width: 100%; height: 100%;">

<div class="ui-layout-center">
    <!-- Nav tabs -->
    <ul class="nav nav-tabs hidden" role="tablist">
        <li role="presentation" class="active"><a href="#setuser" aria-controls="setuser" role="tab" data-toggle="tab">用户设置</a></li>
    </ul>

    <!-- Tab panes -->
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane fade active in" id="setuser" ng-controller="myUserSettingsController">
            <div class="ui-layout-north">
                <ol class="breadcrumb">
                    <li class="active">管理员</li>
                    <li><a href="../../settings/user">用户设置</a></li>
                </ol>
            </div>
            <div class="ui-layout-center">
                <div class="container">
                    <div class="row">
                        <div class="col-md-6 col-md-offset-3">
                            <form>
                                <div class="form-group">
                                    <label for="username">用户名：</label>
                                    <input type="text" class="form-control" id="username" placeholder="用户名" ng-model="user.username" readonly>
                                </div>
                                <div class="form-group">
                                    <label for="userpassword">密码：</label>
                                    <input type="password" class="form-control" id="userpassword" placeholder="密码" ng-model="user.password" ng-change="passwordChange()">
                                    <span class="uploading" ng-show="user.showFlag" style="color: red;font-size:25px;">{{user.level}}</span>
                                </div>
                                <div class="form-group">
                                    <label for="passwordRepeat">重复密码：</label>
                                    <input type="password" class="form-control" id="passwordRepeat" placeholder="密码" ng-model="user.passwordRepeat">
                                    
                                </div>
                                <div class="form-group">
                                    <label for="cname">姓名：</label>
                                    <input type="text" class="form-control" id="cname" placeholder="姓名" ng-model="user.cname" ng-disabled="true">
                                </div>
                                <div class="form-group">
                                    <label for="email">电子邮件：</label>
                                    <input type="text" class="form-control" id="email" placeholder="电子邮件" ng-model="user.email">
                                </div>
                                <div class="form-group">
                                    <label for="telephone">联系电话：</label>
                                    <input type="text" class="form-control" id="telephone" placeholder="联系电话" ng-model="user.telephone">
                                </div>
                                <div style="color:red;">推荐密码：不少于8位，大、小写字母，数字，特殊字符至少3种。</div>
                                <div class="form-group">
                                    <button type="button" class="btn btn-primary" data-toggle="modal1111" data-target="#myModal" ng-click="ok()">保存</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


</div>

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel1"><b>温馨提示：</b></h4>
            </div>
            <div class="modal-body">
                保存成功!
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
